<?php

namespace plugin\cms\app\validate;

use core\validate\ValidateBase;

class Rewrite extends ValidateBase
{

    protected $rule =   [
        'index'     => 'require',
        'cate'      => 'require',
        'page'      => 'require'
    ];

    protected $message  =   [
        'index.require' => '首页规则必填',
        'cate.require'  => '栏目页规则必填',
        'page.require'  => '内容页规则必填',
    ];
}
